package com.hightrast.service.api.domain.qo.rastUserRoleAuth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode
@ApiModel(value="修改用户申请权限状态")
public class UpdateRastUserRoleAuthStatusQo {

    @ApiModelProperty(value = "申请权限id")
    @NotNull(message = "userAuth ID cannot be empty")
    private Long userAuthId;

    @ApiModelProperty(value = "申请权限授权用户id")
    @NotNull(message = "Authorized user ID cannot be empty")
    private Long userId;

    @ApiModelProperty(value = "角色授权申请状态，1-通过，2-不通过")
    @NotNull(message = "The application status cannot be empty")
    private Integer authStatus;

    @ApiModelProperty(value = "角色授权id")
    @NotNull(message = "Role ID cannot be empty")
    private Long roleId;
}
